package com.yike.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 店铺表
 *
 * @author Sakura
 * @since 2024-08-23
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "店铺绑定信息")
public class ShopBindingVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("店铺编号")
    private String shopNo;

    @ApiModelProperty("商户编号")
    private String merchantNo;

    @ApiModelProperty("商户名称")
    private String merchantName;

    @ApiModelProperty("代理商编号")
    private String agentNo;

    @ApiModelProperty("代理商名称")
    private String agentName;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("logo")
    private String logoUrl;

    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("联系电话")
    private String mobile;

    @ApiModelProperty("省code")
    private String provCode;

    @ApiModelProperty("市code")
    private String cityCode;

    @ApiModelProperty("区code")
    private String distCode;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("维度")
    private BigDecimal latitude;

    @ApiModelProperty("申请绑定ID")
    private Integer applyId;

    @ApiModelProperty("申请类型:1店铺绑定代理商 2店铺绑定商家")
    private Integer applyType;

    @ApiModelProperty("是否可审：1可审核 0不可审核")
    private Integer checkFlag;

    @ApiModelProperty("申请状态：0待通过 1通过 2拒绝")
    private Integer applyStatus;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
